/**
* This file contains function prototypes for shared.c
*/
#ifndef SHARED_H
#define SHARED_H

#include <time.h> // to set up time for logger() calls
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

#define MAX_MSG_LEN 81 // Maximum message length for logger()
char message[MAX_MSG_LEN]; // for logger(), @note: Will segfault in sprintf() i$

FILE *fileClient; // file to be used for logger() in client.c and storage.c

void setupTime(char* dateS, char* hourS, char* monthS, char* minS, char* secS, int *year);

#endif
